package com.neepu.dao;

import com.neepu.pojo.Target;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IndexManagerMapper {

    List<Target> getAllTarget();

    List<Target> findAllTargetByContent(String content);

    Target findTargetById(int oneId);

    void deleteOneTarget(Integer id);

    void insertTarget(Target target);

    void updateTarget(Target target);
}
